body, ul, li{
    margin: 0%;
    padding: 0%; 
}
body{
    height: 1500px;
    font: 14px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style-type: none;
}
/* 顶部菜单栏 */
.topbar{
    background-color: #333;
    
    height: 40px;
}
.container{
   margin: 0px auto;
   width: 1226px;
}
.container::before, .container::after, .clearfix::before, clearfix::after{
    content: "";
    display: table;
}
.container::after, .clearfix::before, clearfix::after{
    clear: both;
}
.topbar a{
    color: #b0b0b0;
    font-size: 12px;
}
.topbar a:hover{
    color: #ffffff;
}

.topbar-nav{
  float: left;
  height: 40px;
  line-height: 40px;
  font-size: 0px;
}
.topbar-nav span{
    color: #424242;
    font-size: 12px;
    font-family: sans-serif;
    margin: 0.5em;
}
.topbar-info ,.topbar-cart{
    float: right;
}
.topbar-cart span{
    margin-left: -8px;
    font-size: 12px;
}
.topbar-cart a{
    display:block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 120px;
    background-color: #424242;
}
.topbar-cart a:hover{        
    background-color: #fff;
    color: #ff6700;
}
.topbar-info{
    margin-right: 15px;
}
.topbar-info a{
    float: left;
    padding: 0 5px;
    line-height: 40px;
    height: 40px;
}
.topbar-info span{
    float: left;
    font-family: sans-serif;
    font-size: 12px;
    color: #424242;
    line-height: 40px;
    height: 40px;
}
.topbar-info .sep{
    padding: 0 10px;
}

/* 顶部导航栏 */
.header{
    height: 100px;
}
/* 小米logo */
.header-logo{
    float: left;
    width: 62px;
    height: 55px;
    margin-top: 22px;
}
.header-logo a{
    display: block;
    height: 55px;
    width: 55px;
    background:#ff6700 url(../img/mi-logo.png) no-repeat 50% 50%;
}
.header-logo .lr{
    text-align: left;
    text-indent: -9992em;
}
/* 导航栏 */
.header-nav{
    float: left;
    width: 820px;
    height: 100px;
}
.header-nav .nav-list{
    width: 820px;
    height: 88px;
    font-size: 16px;
    padding: 12px 0px 0px 30px;
}
.header-nav .nav-list .nav-category{
    float: left;
    width: 127px;
    padding: 0 15px 0 0;
}
.header-nav .nav-list .nav-category a{
    display: block;
    padding: 26px 0 38px;
    text-align: right;
    color: #333333;
}
.header-nav .nav-list .nav-item{
    float: left;
}
.header-nav .nav-list .nav-item a{
    display: block;
    padding: 26px 10px 38px;
    color: #333333;
    font-size: 16px;
}
.header-nav .nav-list .nav-item a:hover{
    color: #ff6700;
}
.header-search{
    float: right;
    width: 296px    ;
    height: 50px;
    margin-top: 25px;
    border: 1px solid black;
}